<div class="outer head">
	<form name="<{$form.name}>" id="<{$form.name}>" action="<{$form.action}>" method="<{$form.method}>" >
		<{foreachq item=item from=$form.elements}>
		<{$item.caption}><{$item.body}>
		<{/foreach}>
	</form>
</div>
<br/>
<{$pagenav}>
<form action="action.group.php?op=mvgroup" method="post">
<table  class="outer" width="100%" cellspacing="1">
	<tr class="head">
		<th width="8%">图标</th>
		<th width="50%">群组信息</th>
		<th width="16%">简单统计</th>
		<th width="16%">权限</th>
		<th>操作</th>
	</tr>
	<{foreachq item=item from=$groups_list}>
	<tr class="<{cycle values='odd, even'}>">
		<td align="center" valign="top">
			<div><a href="../groups.php?id=<{$item.group_id}>"><img src="<{$smarty.const._GROUPS_USERAVATAR_URL}><{$item.group_logo}>" /></a></div>
			<div><input type="checkbox" name="group_ids[]" value="<{$item.group_id}>" /></div>
		</td>
		<td valign="top">
			<div><strong><a href="topics.php?group_id=<{$item.group_id}>"><{$item.group_name}></a></strong></div>
			<{$item.group_description}>
			<div>				
				创建者: <a href="<{$smarty.const._GROUPS_USERINFO_URL}><{$item.uid}>"><{$item.group_createuser}></a>
				分类: <{$item.cat_name}>
			</div>
		</td>
		<td valign="top">
			<div>
			    
				<div><{$item.group_createtime}></div>
				<div>主题数: <{$item.group_topics}></div>
				<div>回复数: <{$item.group_posts}></div>
				<div>访问次数: <{$item.group_footnum}></div>
				<div>群组成员: <{$item.group_members}></div>
			</div>
		</td>
		<td valign="top">
			<div>状态: <span style="font-size: 15px;color: #0000ff;"><{$item.group_status_decs}></span></div>
			<div>访问: <{$item.group_access_permission}></div>
			<div>发表: <{$item.group_post_permission}> </div>
			<div>回复: <{$item.group_reply_permission}></div>
			<div>加入: <{$item.group_join_permission}></div>
		</td>
		
		<td align="center">
		<{if $item.group_status}>
			<a href="action.group.php?op=cancel&amp;group_id=<{$item.group_id}>">取消审核</a> <br/>
		<{/if}>
		<{if $item.group_status != "1" }>
			<a href="action.group.php?op=pass&amp;group_id=<{$item.group_id}>">通过审核</a> <br/> 
		<{/if}>
		<{if $item.group_status != "2" }>
			<a href="action.group.php?op=off&amp;group_id=<{$item.group_id}>">禁止使用</a> <br/>
		<{/if}>
			<br/>
			<a href="action.group.php?op=delete&amp;group_id=<{$item.group_id}>">解散群主</a> <br/> 
			<a href="action.group.php?op=empty&amp;group_id=<{$item.group_id}>">清空文章</a> <br/> <br/> 
		</td>
	</tr>
	<{/foreach}>
	<tr>
	   <td colspan="4">
	       <div>
	            移动至分类: 
	            <select name="cat_id" >
	               <{foreachq item=cat key=key from=$cat_list}>
	                   <option value="<{$cat.cat_id}>"><{$cat.cat_name}></option>
	               <{/foreach}>
	            </select>
                <input type="submit" name="submit" value="<{$smarty.const._SUBMIT}>" />
            </div>
	   </td>
	</tr>
</table>
</form>
<{$pagenav}>